package com.yrihr.wisdom.util;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName : RSAProperties
 * @Description :
 * @Author : wind
 * @Date: 2020-12-09 14:41
 * @Version 1.0
 */
@Data
@Component
public class RSAProperties {

    public static String privateKey;

    @Value("${rsa.private_key}")
    public void setPrivateKey(String privateKey) {
        RSAProperties.privateKey = privateKey;
    }
}

